
package de.justphil.tcg.tcgandroidclient.content.rest;

/**
 * Immutable
 * @author Martin
 *
 */
public class RESTCard {
	
	private final int life;
	private final int attack;
	private final int defense;
	private final int agility;
	private final String name;
	private final int[] propertyTypes;
	
	public RESTCard(int life, int attack, int defense, int agility, String name, int[] propertyTypes) {
	
		this.life = life;
		this.attack = attack;
		this.defense = defense;
		this.agility = agility;
		this.name = name;
		this.propertyTypes = propertyTypes.clone();
	}
	
	public int getLife() {
	
		return life;
	}
	
	public int getAttack() {
	
		return attack;
	}
	
	public int getDefense() {
	
		return defense;
	}
	
	public int getAgility() {
	
		return agility;
	}
	
	public String getName() {
	
		return name;
	}
	
	public int[] getPropertyTypes() {
	
		return propertyTypes.clone();
	}
}
